package com.un.ebs.inventory.dto;

import lombok.Data;

import javax.validation.constraints.NotNull;
import java.util.List;

/**
 * @author liubo
 * @email liubocs@163.com
 * @date 2020/6/2 19:15
 */
@Data
public class InventoryNoteBySaleOutDto {

    //@NotNull(message = "销售订单不能为空。")
    private String saleOrderId;

    private String personnelId;

    @NotNull(message = "出库仓库不能为空。")
    private String warehouseId;

    @NotNull(message = "销售出库时未指定合同号。")
    private String contractCode;

    @NotNull(message = "出库明细不能为空。")
    private List<InventoryNoteItemDto> items;
}
